package cn.rongdao.jrkabao.ui.cashadvance.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerAdapter;
import com.mifengkong.frtools.inputmethod.FRView;

import cn.rongdao.jrkabao.R;
import cn.rongdao.jrkabao.bean.cashadvance.CashAdvanceSuccessBean;

/**
 * Created by jack on 2017/6/2
 */

public class CashAdvanceSuccessAdapter extends FRBaseRecyclerAdapter<CashAdvanceSuccessBean.CashListBean, CashAdvanceSuccessViewHolder> {

    public CashAdvanceSuccessAdapter(Context context) {
        super(context);
    }

    @Override
    public CashAdvanceSuccessViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new CashAdvanceSuccessViewHolder(FRView.inflateLayout(getContext(), R.layout.item_cash_advance_success, parent, false));
    }
}
